package com.oocl.customersystem.util;

import java.util.Arrays;
import java.util.Date;

public class Testc {
	
	private Integer id;
	private String cname;
	private double salary;
	private boolean sex;
	private Date birth;
	private String[] favs;

	public Integer getId() {
		return id;
	}

	public String[] getFavs() {
		return favs;
	}

	public void setFavs(String[] favs) {
		this.favs = favs;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public boolean isSex() {
		return sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public Testc(Integer id, String cname, double salary, boolean sex,
			Date birth, String[] favs) {
		super();
		this.id = id;
		this.cname = cname;
		this.salary = salary;
		this.sex = sex;
		this.birth = birth;
		this.favs = favs;
	}
	
	public Testc() {
		super();
	}

	@Override
	public String toString() {
		return "Customer [id=" + id + ", cname=" + cname + ", salary=" + salary
				+ ", sex=" + sex + ", birth=" + birth + ", favs="
				+ Arrays.toString(favs) + "]";
	}
	
}
